<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head> 
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>中国刊网-搜索</title>
<link href="css/search.css" rel="stylesheet" type="text/css" />
</head>

<body>
<jsp:include page="top.jsp"/>
<div class="content">
		<div class="tab-b">
			<div class="col_left">
				<div class="tab-a">
					<div class="tab"><strong>您搜索的期刊</strong></div><!-------标签----->
											<div class="clear"></div>
					<div class="col_left_tap">
						<c:forEach var="p" items="${requestScope.periodicals}" >
						<div class="col_left_top-col">
							<div class="col_left_top-img"><a href="subscribeB/findNewPerPeriodical?periodical.periodicalId=${ p.periodicalId }"> <img src="${p.cover}" width="112px" height="150"></a></div>
							<div class="col_left_top-font"><a href="subscribeB/findNewPerPeriodical?periodical.periodicalId=${ p.periodicalId }">${p.name }</a></div>
						</div>
						</c:forEach>
					</div><!-------------------左上内容---->
					<div class="clear"></div>
					
					<div class="banner">
						<a href="#"><img src="images/ads.gif" width="656" height="92" alt="中国刊网"></a>
					</div>
					
					<div class="col_left_bottom">
						<div class="tab"><strong>您搜索的文章</strong></div><!-------标签----->
						<div class="col_left_bottom_menu">
							<ul>
								<c:forEach var="a" items="${requestScope.articals}" >
								<li>
									<span class="span_1">
										<img src="images/li.gif"><a href="artical/articalDetialInfo.action?articalId=${ a.articalId }">${a.title }</a>
									</span>
									<span class="time">${a.pubDate }</span>  
								</li>
								</c:forEach>
							</ul>
						</div><!-------------------菜单---->
					</div><!-------------------左下内容---->
				</div>
			</div><!-----------------------左容器------>
				
			<div class="col_right">
				<div class="col_right_top">
					<a href="#"><img src="images/ads_03.gif" width="290px" height="178px" /></a>
				</div><!----------------------------顶上广告-->
					
				<div class="col_right-a1">
					<div class="col_right_tap">文章推荐</div><!---------------------小标签--->
					  	<div class="col_right_list">
					  	<ul>
					  	<%int j=1; %>
					  		<c:forEach items="${recommendArtical}" var="list">
					  			<li> <div class="col_right_a_1"> <img src="images/num<%=j++ %>.gif"  align="top"> <a href="artical/articalDetialInfo.action?articalId=${list.articalId }">${list.title }</a> </div> </li>
					  		</c:forEach>
					 		</ul>
					 </div>
				</div>
					  
				<div class="col_right-a1">
					<div class="col_right_tap">热门期刊</div>
					<!---------------------小标签--->
					<div class="col_right_list">
					  	<ul>
					  	<%int i=1; %>
					  	<c:forEach items="${hotPeriodicals }" var="perList">
					  	    
					  		<li> <div class="col_right_a_1"> <img src="images/num<%=i++ %>.gif"  align="top"> <a  href="#"> ${perList.name }</a> </div> </li>
					  	</c:forEach>
					 	</ul>
					</div>
				</div>
			</div><!----------------------右容器---->
		</div>
	</div>
	<div style="clear:both;"></div>
<jsp:include page="footer.jsp"/>
</body>
</html>